package com.cattsoft.action;

import java.util.Iterator;
import java.util.List;

import com.opensymphony.xwork2.ActionSupport;

public class TagTestAction extends ActionSupport {

	private List leftNames;
	private List rightNames;
	
	public List getLeftNames() {
		return leftNames;
	}

	public void setLeftNames(List leftNames) {
		this.leftNames = leftNames;
	}

	public List getRightNames() {
		return rightNames;
	}

	public void setRightNames(List rightNames) {
		this.rightNames = rightNames;
	}

	public void testTag(){
		
		System.out.println("leftNames:~~~~~~~~~~~~~~~~~~~~~~");
		
		for (Iterator it = leftNames.iterator(); it.hasNext();) {
			String name = (String) it.next();
			System.out.println(name);
		}
		
		System.out.println("rightNames:~~~~~~~~~~~~~~~~~~~~~~");
		
		for (Iterator it = rightNames.iterator(); it.hasNext();) {
			String name = (String) it.next();
			System.out.println(name);
		}
		
	}
	
}
